public class Test {
    public static int Add(int a,int b){
        return a+b;
    }
    public static double Add(double a,double b,double c){
        return a+b+c;
    }
    public static void main(String[] args){
        int a=10;
        int b=20;
        double c=3.14;
        double d=4.14;
        double e=6.24;
        System.out.println(Add(a,b));
        System.out.println(Add(c,d,e));
    }
}
